import 'package:equatable/equatable.dart';

sealed class PurchaseFailure {}

class UnknownPurchaseFailure extends Equatable implements PurchaseFailure {
  const UnknownPurchaseFailure();

  @override
  List<Object?> get props => [];
}

class NetworkPurchaseFailure extends Equatable implements PurchaseFailure {
  const NetworkPurchaseFailure();

  @override
  List<Object?> get props => [];
}

class ServerPurchaseFailure extends Equatable implements PurchaseFailure {
  const ServerPurchaseFailure();

  @override
  List<Object?> get props => [];
}

class UnauthorizedPurchaseFailure extends Equatable implements PurchaseFailure {
  const UnauthorizedPurchaseFailure();

  @override
  List<Object?> get props => [];
}
